This scenario demonstrates how to send a tile notification with local images.

Tile notifications can specify local images. These images can be referenced from the appx package (included during build time) using the ms-appx:/// protocol or referenced from the app's local storage (downloaded at runtime) using the ms-appdata:///local/ protocol. Images must be in .png, .jpg, .jpeg, or .gif format and can have a maximum size of 200KB and maximum dimensions of 1024x1024.

Send using the Notifications Extensions Library:

For the first example, we use the Notifications Extensions Library to build the notification payload.

Send by constructing your own payload:

Since notifications are simply XML, you can create them in many different ways. For example, here we create notifications by constructing strings.